package com.mindskip.xzs.repository;

import com.github.pagehelper.PageInfo;
import com.mindskip.xzs.domain.dto.student.message.MessagePageStudentDTO;
import com.mindskip.xzs.domain.entity.MessageUser;
import com.mindskip.xzs.domain.vo.student.message.MessagePageStudentVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MessageUserMapper extends BaseMapper<MessageUser> {

    List<MessageUser> selectByMessageIds(List<Integer> ids);

    int inserts(List<MessageUser> list);

    List<MessageUser> selectByReceiveUserId(Integer receiveUserId);

    int updateReadCount(Integer messageId);
}
